##
## Makefile for cc lib in /home/le_e//test
## 
## Made by canh-kiet le
## Login   <le_e@epitech.net>
## 
## Started on  Mon Oct 24 10:15:02 2011 canh-kiet le
## Last update Mon Apr 30 20:58:12 2012 canh-kiet le
##

NAME	=	libmy

SRC	=	free_tab.c		\
		epur_str.c		\
		my_xfunc.c		\
		my_strcmp.c		\
		my_strlen.c		\
		print_err.c		\
		get_next_line.c		\
		str_to_word_tab.c	\
		epur_str.c		\
		my_put_nbr.c		\
		my_str_isnum.c		\
		convert_color.c		\

OBJ	=	$(SRC:.c=.o)

CFLAGS	=	-W -Wall -I ../include/

$(NAME)	:	$(OBJ)
		ar rc $(NAME).a $(OBJ)
		ranlib $(NAME).a

clean	:
		$(RM) $(OBJ)

fclean	:	clean
		$(RM) $(NAME).a

re	:	fclean	$(NAME)